import {api} from "@/boot/api.js";

export function login(payload) {
    return api.post('/user/login', payload)
}

export function register(payload) {
    return api.post('/user/add_one', payload)
}